package com.yzt.zhuju.event.message;

import com.yzt.zhuju.event.BaseBusEvent;

/**
 * author : bob
 * date   : 2022/11/30
 * desc   :
 */
public class CustomAttachEvent extends BaseBusEvent {

    private int type;
    private String data;

    public CustomAttachEvent(int type, String data) {
        this.type = type;
        this.data = data;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "CustomeAttachEvent{" +
                "type=" + type +
                ", data='" + data + '\'' +
                '}';
    }
}